<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <title>更新商品</title>
    <link href="../css/bootstrap.min.css" rel="stylesheet">
    <link href="../css/signin.css"  rel="stylesheet"> 
    <link href="./css/bootstrap.min.css" rel="stylesheet">
    <link href="./css/signin.css"  rel="stylesheet"> 
  </head>
  <body >
    <div class="addgoods" style="padding-left:45%; padding-bottom:50%;" >
       <form class="navbar-form navbar-left" role="商品名称" style="padding-top:20%" action="shopper_update" method="post"
		enctype="multipart/form-data">
          <div class="form-group">
             <input type="text" class="form-control" placeholder="商品名称" name="goods.goodsName"
			value="${requestScope.goodInfo.goodsName}"><br>
		   <input type="text" class="form-control" placeholder="商品价格" name="goods.goodsPrice"
			value="${requestScope.goodInfo.goodsPrice}"><br>
		   <input type="text" class="form-control" placeholder="商品库存" name="goods.totalNum"
			value="${requestScope.goodInfo.totalNum}"><br>
		   <input type="file" class="form-control" placeholder="商品图片" style="width:195px;" name="file"><br><br>
		    <img src="${requestScope.goodInfo.shopPic}" style="width:70px;height:50px; float:left;">
			<input type="hidden" name="goods.goodsId"
			value="${requestScope.goodInfo.goodsId}"> <input
			type="hidden" name="goods.shoperId"
			value="${requestScope.goodInfo.shoperId}"> <input
			type="hidden" name="goods.timeAdd"
			value="${requestScope.goodInfo.timeAdd}">
		    <button class="btn btn-lg btn-primary btn-block" type="submit" >提交</button>
          </div>
        
      </form>
    </div>  
  </body>
</html>
